Skip to content

Instantly share code, notes, and snippets.

Manual Carrier Switching

How to switch the Orbic RC400L between carriers using only a root shell and AT commands. No custom firmware required β€” just the stock device with root access.

Overview

The Orbic RC400L ships with Verizon/Kajeet PDP context profiles baked in. When you insert a different carrier's SIM (T-Mobile, AT&T, etc.), the modem detects the new network but the old APN configurations remain, preventing a data connection. You must manually delete the old PDP contexts, configure new ones, update the QCMAP config file, and reboot.

Why AT+CGACT doesn't work: The stock QCMAP_ConnectionManager daemon owns the data call. Attempting AT+CGACT=1,<cid> returns +CME ERROR: unknown. Instead, we configure the APN at both the AT command level and in QCMAP's config file, then reboot to let QCMAP establish the connection cleanly.

@WarforgeTech
WarforgeTech / uefn-size-optimizer.md
Created December 1, 2026 18:57
UEFN Size Optimizer

name: uefn-size-optimizer description: >- Priority-ordered UEFN Download Size (400 MiB ceiling) and Memory Calculation (300 MiB ceiling) audit and optimization workflow for Fortnite islands. Use whenever a UEFN project approaches or exceeds 85%+ Project Size, fails Creator Portal Download Size validation (> 400 MiB), needs pre-launch size hygiene, or when importing external Fab/Marketplace/Blender art packs. Enforces zero-art-damage priority ordering (4K texture elimination, lossless format swaps, audio forensics, Normal/ORM caps before diffuse, excess LOD2+

@neilhawkins
neilhawkins / list-of-salutations-titles-honorifics.txt
Last active December 1, 2026 21:44
List of salutations, honorifics, titles, Mr, Mrs, Sir in plain text
Admiral
Air Chief Marshal
Air Commodore
Air Marshal
Air Vice Marshal
Alderman
Ambassador
Ambassador-at-Large
Archbishop
Archbishop Emeritus

GitHub Search Syntax for Finding API Keys/Secrets/Tokens

As a security professional, it is important to conduct a thorough reconnaissance. With the increasing use of APIs nowadays, it has become paramount to keep access tokens and other API-related secrets secure in order to prevent leaks. However, despite technological advances, human error remains a factor, and many developers still unknowingly hardcode their API secrets into source code and commit them to public repositories. GitHub, being a widely popular platform for public code repositories, may inadvertently host such leaked secrets. To help identify these vulnerabilities, I have created a comprehensive search list using powerful search syntax that enables the search of thousands of leaked keys and secrets in a single search.

Search Syntax:

(path:*.{File_extension1} OR path:*.{File_extension-N}) AND ({Keyname1} OR {Keyname-N}) AND (({Signature/pattern1} OR {Signature/pattern-N}) AND ({PlatformTag1} OR {PlatformTag-N}))

Examples:

**1.

@JLIspace
JLIspace / gist:4cb9b6e72d22610f5387ebca1a486bdd
Created July 2, 2026 21:15
Automatically download all of your MRT images from Sectra UniView web-viewer (Select single MRT image, enable full resolution, reload page, open dev tools using F12, copy & paste this code into your javascript console, download of all images will start)
(async () => {
const urls = performance.getEntriesByType("resource")
.filter(r => r.name.includes("GetImageData.ashx"))
.map(r => r.name);
console.log("Total:", urls.length);
const sleep = (ms) => new Promise(r => setTimeout(r, ms));
@karpathy
karpathy / min-char-rnn.py
Last active December 1, 2026 21:32
Minimal character-level language model with a Vanilla Recurrent Neural Network, in Python/numpy
"""
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy)
BSD License
"""
import numpy as np
# data I/O
data = open('input.txt', 'r').read() # should be simple plain text file
chars = list(set(data))
data_size, vocab_size = len(data), len(chars)
@jborean93
jborean93 / Get-SnapshotPath.psm1
Created March 20, 2019 08:17
Get all the VSS snapshot paths for the path specified
# Copyright: (c) 2019, Jordan Borean (@jborean93) <jborean93@gmail.com>
# MIT License (see LICENSE or https://opensource.org/licenses/MIT)
# To use, copy the .psm1 file locally and run
# Import-Module -Name Get-SnapshotPath.psm1
# Get-SnapshotPath -Path "\\server\share"
Add-Type -TypeDefinition @'
using Microsoft.Win32.SafeHandles;
using System;
@rijans
rijans / cisco-anyconnect-openconnect-linux-guide.md
Created October 15, 2026 09:09
Complete Guide to Cisco AnyConnect VPN on Linux using OpenConnect (CLI & GUI)
@jborean93
jborean93 / Get-Shortcut.ps1
Created March 15, 2021 06:15
Get information about a Windows shortcut (lnk) files
# Copyright: (c) 2021, Jordan Borean (@jborean93) <jborean93@gmail.com>
# MIT License (see LICENSE or https://opensource.org/licenses/MIT)
Function Get-Shortcut {
[CmdletBinding(DefaultParameterSetName='Path')]
param (
[Parameter(
Mandatory = $true,
Position = 0,
ValueFromPipeline = $true,